import Vue from 'vue'
import App from './App.vue'
import router from './router'

import KuangKuang from '@/components/kuangkuang/Index.vue'
import Page from '@/components/page/Index.vue'
Vue.use(Vue => {
  // Vue.component(KuangKuang.name, KuangKuang)
  // Vue.component(Page.name, Page)\
  const coms = [KuangKuang, Page]
  coms.forEach(com => {
    Vue.component(com.name, com)
  })
})

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
